﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraReports.UI;

namespace ERP_RORZE_PRODUCT.Product.Incauhinhmoi
{
    public partial class frm_InCauHinhMoi : DevExpress.XtraEditors.XtraForm
    {
        public DataTable _Table;
        public frm_InCauHinhMoi()
        {
            InitializeComponent();
            
        }

        private void frm_InCauHinhMoi_Load(object sender, EventArgs e)
        {
            Rp_InCauHinhMoi Report = new Rp_InCauHinhMoi();
            Report.DataSource = _Table;
            Report.DataMember = "Table";
            Report.CreateDocument();
            //Report.ShowPreview();
            documentViewer1.DocumentSource = Report;
        }
    }
}